package com.rk.kbk.dao;

import com.rk.kbk.model.PunishSetting;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @PunishSettingDao
 * @Dao
 * @version : Ver 1.0
 */
public interface PunishSettingDao extends JpaRepository<PunishSetting, Long>,JpaSpecificationExecutor {
    List <PunishSetting> findByUserTypeAndPunishType(Integer userType,Integer punishType);
}
